import request from '@/utils/request'

export function fetchWxUserList(data) {
    return request({
        url: '/api/gas/account/list',
        method: 'post',
        params: data
    })
}

export function paymentList(data) {
    return request({
        url: '/api/cost/record/list',
        method: 'post',
        params: data
    })
}

export function getMoneyBtn() {
    return request({
        url: '/api/price/cent/list',
        method: 'post'
    })
}

export function setMoneyBtn(data) {
    return request({
        url: '/api/price/cent/create',
        method: 'post',
        params: data
    })
}

export function labelList(data) {
    return request({
        url: '/api/label/list',
        method: 'post',
        params: data
    })
}

export function addLabel(data) {
    return request({
        url: '/api/label/add',
        method: 'post',
        params: data
    })
}

export function delLabel(data) {
    return request({
        url: '/api/label/delete',
        method: 'post',
        params: data
    })
}

export function updateUserList(data) {
    return request({
        url: '/api/gas/account/update',
        method: 'post',
        params: data
    })
}
